#ifndef __COMM_H__
#define __COMM_H__
#include "rtthread.h"

void uint16_to_str(rt_uint16_t value,rt_uint8_t *str);
void uint32_to_str(rt_uint32_t value,rt_uint8_t *str);
rt_uint16_t str_to_uint16(rt_uint8_t *str);
void show_hex_string(rt_uint8_t *str,rt_uint16_t size);
rt_uint32_t str_to_uint32(rt_uint8_t *str);
void show_int_string(rt_uint8_t *str,rt_uint16_t size);
void sys_reboot(void);
rt_uint16_t net_crc16(rt_uint8_t *buf, rt_uint16_t len);



#endif

